package com.ai.entity.comm;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author chen
 * @since 2023-03-28 16:52:35
 */
@Getter
@Setter
@TableName("sys_dict_item")
@ApiModel(value = "SysDictItem对象", description = "")
public class SysDictItem implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键 ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("编码")
    @TableField("code")
    private String code;

    @ApiModelProperty("描述")
    @TableField("description")
    private String description;

    @ApiModelProperty("父级 ID")
    @TableField("dict_id")
    private Integer dictId;

    @ApiModelProperty("删除状态")
    @TableField("is_del")
    @TableLogic
    private Integer isDel;


}
